<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
	<swf:BizProc runat="server" ID="pcArt1_" factoryName="genericArticles">
		<ParentBizProc id="pArt1" fieldName="id" dataId="pid"  />
	</swf:BizProc>
	
	<div id="article" class="articlebox">
		<swf:ReadOnlyText CssClass="title" ID="title" runat="server" />
		<p></p>
		<div class="mainMediaArea">
			<asp:Image CssClass="media" ID="primaryPicture_name" runat="server" ImageUrl="/$mediaCacheName$/Thumbnail/$primaryPicture.name$" EnableViewState="false"/><br />
		</div>
		<swf:ReadOnlyText CssClass="summary" ID="summary" runat="server" />
		<swf:ReadOnlyText CssClass="body" ID="body" runat="server"  Width="100%" Height="100%" />
	</div>
	
	<div id="childArticles">
		<nit:ComplexBizObjListDisplay ID="relatedArticles" runat="server" 
			ReadOnlyTemplate="Articles.Gui.AspNet.ArticlesListDisplay-SmallThumbnail"
			ParentBizProcIds="pcArt1_">
				<macros>
					<Entry name="navLink" type="String">ProductView.aspx?pArt1pid=$pid$&amp;pArt1id=$id$</Entry>
				</macros>
		</nit:ComplexBizObjListDisplay>
	</div>
	